Service provider for providing data, applications and services to embedded devices and for facilitating control and monitoring of embedded devices

ABSTRACT

A service provider for embedded devices is disclosed for controlling, monitoring and/or updating embedded devices. The service provider includes a computer having communications hardware for communicating over a computer network. The computer also includes a storage device and a processor. The service provider further includes a database of embedded device information that contains information relating to a number of embedded devices. An embedded device communications module is used by the service provider to communicate with a number of embedded devices. The service provider further includes a computer network communications module for communicating with computers via the computer network. In addition, the service provider has a database interface module for accessing the information in the embedded device information database. The service provider may also include an information collection manager for searching the computer network and for accessing and obtaining updated information from the computer network relating to the embedded devices. Certain information in the embedded device information database is linked to certain updated information. A system that is used in combination with the service provider for embedded devices includes a plurality of service providers in electronic communication with a central provider to coordinate communications between embedded devices and service providers for embedded devices.

BACKGROUND

[0001] 1. The Field of the Invention

[0002] This invention relates to computer software and, more particularly, to novel systems and methods for providing access and services to embedded devices through a computer network.

[0003] 2. The Background Art

[0004] In recent years there has been a great increase in the amount of computer technology that is involved in daily life. In today's world, computer technology is involved in many aspects of a person's day. Many devices being used today by consumers have a small computer inside of the device. These small computers come in varying sizes and degrees of sophistication. These small computers include everything from one microcontroller to a fully-functional complete computer system. For example, these small computers may be a one-chip computer, such as a microcontroller, a one-board type of computer, such as a controller, a typical desktop computer, such as an IBM-PC compatible, etc.

[0005] The small computers, (which can be rather large computers depending on the particular need which is being met by the computer), almost always have one or more processors at the heart of the computer. The processor(s) usually are interconnected to different external inputs and outputs and function to manage the particular device. For example, a processor in a vending machine for soda pop may be connected to the buttons used to select the pop, to the switch that allows a pop to drop down to a user, and to lights to indicate that the machine does not have any more pop of a particular variety.

[0006] Computer technology is involved in many aspects of today's world. Many appliances, devices, etc., include one or more small computers. For example, refrigerators, telephones, typewriters, automobiles, vending machines, and many different types of industrial equipment all have small computers, or processors, inside of them. Computer software runs the processors of these computers and tells the processors what to do to carry out certain tasks. For example, the computer software running on a processor in a vending machine may cause a soda pop to drop to a user when the correct change has been entered by a user.

[0007] These types of small computers that are a part of a device, appliance, tool, etc., are often referred to as embedded systems. The term “embedded system” usually refers to computer hardware and software that is part of a larger system. Embedded systems usually do not have typical input and output devices such as a keyboard, mouse, and/or monitor. Generally, at the heart of each embedded system is one or more processor(s).

[0008] Typically the embedded systems used today with various appliances, devices, etc., do not have a lot of storage capability. As a result, the amount of data that can be stored on the embedded systems is limited. With only limited storage, an embedded system may not have as many features and capabilities as it could have if it had more available storage. Memory is often conserved in these embedded systems that monitor, control and otherwise use electronic devices.

[0009] Almost all desktop computer systems include memory management capabilities at the processor level (hardware), firmware level (the software embedded into the hardware), and at the operating system level. However, in many embedded devices, these types of memory management capabilities are not available. For example, many of the embedded environments include an 8-bit or 16-bit microcontroller, where no substantial operating system or memory management features are present. In these types of environments, any program code is typically developed and loaded onto the embedded device by the manufacturer before the device is shipped, after which software upgrades are rarely if ever even contemplated.

[0010] Because many embedded devices do not have extensive memory management capabilities, it is often difficult to easily upgrade the software, upgrade modules, upgrade components and/or to add new software, new components, new modules, new features, new extensions, etc. Some embedded systems have been connected to computer networks to allow some communication between the embedded system and a larger computer system. However, because embedded systems are often not equipped with the functionality to effectively and efficiently communicate with other computer systems, the communication capability is usually limited. In addition, the means for communicating with embedded systems is often a slower type of communication pathway and, accordingly, only limited amounts of data are passed to and from the embedded systems.

[0011] Because of the constrained memory resources on the embedded systems and because of the typically limited communications means, often only limited interaction from a computer network with the embedded system is available. This interaction is often of limited use because of the difficulty in communicating with the different parts of the embedded system.

[0012] As mentioned, it is often difficult to easily upgrade the software of an embedded system once it is out in the field and in use. As a result, older embedded systems typically have older versions of software, while newer embedded systems have newer software. If a computer system on a computer network needed to communicate with a plurality of embedded systems or devices, it would need to be programmed to communicate with each particular version of software that may be installed in embedded systems. Programming and maintaining a computer on a computer network to communicate with many different versions of software of embedded systems would be burdensome and difficult for many companies and/or manufacturers whose main focus is not to simply service embedded systems.

[0013] As computer technology and the use of embedded systems continue to expand and be used in additional areas, there will be an increasing need to be able to communicate with and interact with these embedded systems. In addition, there will be ever-increasing needs in the areas of controlling, monitoring, updating and otherwise servicing embedded systems and/or embedded devices.

BRIEF SUMMARY AND OBJECTS OF THE INVENTION

[0014] In view of the foregoing, it is an object of embodiments herein to provide a service provider for embedded devices and/or embedded systems.

[0015] Consistent with the foregoing objects, and in accordance with the embodiments broadly described herein, a service provider for embedded devices is disclosed for controlling, monitoring and/or updating embedded devices. The service provider includes a computer having communications hardware for communicating over a computer network. The computer also includes at least one storage device and at least one processor. The service provider further includes a database of embedded device information that contains information relating to a number of embedded devices. An embedded device communications module is used by the service provider to communicate with a number of embedded devices. The service provider further includes a computer network communications module for communicating with computers via the computer network. In addition, the service provider has a database interface module for accessing the information in the embedded device information database. The service provider may also include an information collection manager for searching the computer network and for accessing and obtaining updated information from the computer network relating to the embedded devices. The provider may link certain information in the embedded device information database to certain updated information. Among the items that may be stored in the embedded device information database there may be a plurality of capabilities tables.

[0016] A method practiced in accordance with embodiments herein may include the steps of providing electronic communications between the service provider for embedded devices and a communications network, receiving a message from an embedded device, identifying the embedded device through use of the message received, accessing the embedded device information database, sending a transmit message to the embedded device, and storing device information descriptive of a transaction. The method may also include the steps of collecting updated information from a computer network relating to embedded devices and linking certain information in the embedded device information database to certain updated information. In addition, the method may include the step of parsing the message from the embedded device to obtain an embedded device identifier.

[0017] A system is also disclosed for providing services to embedded devices where the system comprises a plurality of service providers for embedded devices. The system also includes a central provider in electronic communication with the plurality of service providers for embedded devices. The central provider operates to coordinate communications between embedded devices and service providers for embedded devices.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The foregoing and other objects and features of the embodiments will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only typical embodiments and are, therefore, not to be considered limiting of its scope, the embodiments will be described with additional specificity and detail through use of the accompanying drawings in which:

[0019]FIG. 1 is block diagram illustrating the major components typically utilized in the use of a service provider for embedded devices and the embodiments disclosed herein;

[0020]FIG. 2 is a block diagram of data that may be available from a device manufacturer;

[0021]FIG. 3 is a block diagram of data or information that may be available from an information provider;

[0022]FIG. 4 is a block diagram of data or information that may be collected by a data collector;

[0023]FIG. 5 is a block diagram of the modules and data or information that may used by a controlling/monitoring service;

[0024]FIG. 6 is block diagram illustrating the major hardware components typically utilized in embedded devices;

[0025]FIG. 7 is block diagram illustrating the major hardware components typically utilized in an embedded device network;

[0026]FIG. 8 depicts a block diagram of the major hardware and software components of an embodiment of an embedded device network;

[0027]FIG. 9 illustrates the software and data components that may be utilized in an embodiment of a service provider for embedded devices;

[0028]FIG. 10 is a block diagram illustrating a system for providing services to embedded devices;

[0029]FIG. 11 is a flow diagram illustrating steps of a method of an embodiment for providing service to a plurality of embedded devices; and

[0030]FIG. 12 is a flow diagram illustrating steps of a method of an embodiment for providing service to a plurality of embedded devices.

DETAILED DESCRIPTION

[0031] It will be readily understood that the components of the embodiments, as generally described and illustrated in the Figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of the embodiments of the system and method, as represented in FIGS. 1 through 12, is not intended to limit the scope of the invention, as claimed, but is merely representative of embodiments of the invention.

[0032] The present embodiments will be best understood by reference to the drawings, wherein like parts are designated by like numerals throughout.

[0033] A service provider 20 for embedded devices is disclosed as including a computer having communications hardware for communicating over a computer network 22. The computer also includes at least one storage device and at least one processor. The service provider 20 further includes a database of embedded device information and/or a database of service information obtained from the computer network 22. An embedded device communications module is used by the service provider 20 to communicate with a number of embedded devices 24. The service provider 20 further includes a computer network communications module for communicating with computers via the computer network 22. In addition, the service provider 20 has a database interface module for accessing the information in the database(s).

[0034] The service provider 20 may also include an information collection manager for searching the computer network 22 and for accessing and obtaining updated information from the computer network 22 relating to the embedded devices 24. The provider 20 may link certain information in the embedded device information database to certain updated information. Among the items that may be stored in the embedded device information database there may be a plurality of capabilities tables.

[0035] In communicating with an embedded device 24, the embedded device communications module may receive at least one message from the embedded device 24 that includes an embedded device identifier. The communications with one or more embedded devices 24 may be scheduled through the use of schedule data. Schedule data may include embedded device identifications and routing data. The schedule data may be used to control monitoring of the embedded devices 24.

[0036] Control of one or more embedded devices 24 may be provided by the service provider 20 through the periodic sending of control data to computer program code loaded on the embedded device 24 to affect operation of the embedded device 24. The periodic sending may be based on the schedule data. In addition, the provider 20 may cause computer program code on an embedded device 24 to be updated by obtaining updated computer program code via the computer network 22 and by notifying the embedded device 24 of an available update and by further sending the updated computer program code to the embedded device 24.

[0037] The provider 20 may monitor an embedded device 24 via the embedded device communications module by periodically obtaining interface data from computer program code loaded on the embedded device 24. The provider 20 may store the interface data on the storage device. Further, the provider 20 may aggregate monitoring data created from the interface data received. This monitoring data may be provided to a requester through the computer network 22.

[0038] The provider 20 may communicate with an embedded device 24 via the embedded device communications module to obtain from computer program code loaded on the embedded device 24 a device description. The device description may comprise a list of functions, variables, data types, events and files.

[0039] A method practiced in accordance with embodiments herein may include the steps of providing electronic communications between the service provider 20 for embedded devices 24 and a telecommunications network 22, receiving a message from an embedded device 24, identifying the embedded device 24 through use of the message received, accessing the embedded device information database, sending a transmit message to the embedded device 24, and storing device information descriptive of a transaction.

[0040] The method may also include the steps of collecting updated information from a computer network 22 relating to embedded devices 24 and linking certain information in the embedded device information database to certain updated information. In addition, the method may include the step of parsing the message from the embedded device 24 to obtain an embedded device identifier.

[0041] A system is also disclosed for providing services to embedded devices 24 where the system comprises a plurality of service providers 20 for embedded devices 24. The system also includes a central provider in electronic communication with the plurality of service providers 20 for embedded devices 24. The central provider operates to coordinate communications between embedded devices 24 and service providers 20 for embedded devices 24. The central provider may also coordinate collecting updated information from the computer network 22 relating to embedded devices 24 and coordinate disseminating the updated information to embedded devices 24.

[0042] Of course, it will be appreciated by those skilled in the art that the method may be embodied in executable instructions stored on a computer-readable medium.

[0043]FIG. 1 is block diagram illustrating the major components typically utilized in the use of a service provider 20 for embedded devices 24 and the embodiments disclosed herein. In the present embodiments, the service provider 20 is in electronic communication with one or more embedded devices 24 (or embedded systems 24) and may also be in electronic communication with one or more embedded device networks 26. These electronic communications may be direct dial up connections, connections through a LAN, a WAN, an intranet, the Internet or any other means of electronic communication. As shown, a computer network 22 may also provide electronic communications between the service provider 20 and a number of other components. In the embodiments herein, the computer network 22 includes the Internet.

[0044] Device manufacturers 28 may be in communication with the computer network 22. For example, Device A Manufacturer 28 a and Device B Manufacturer 28 b, as illustrated, may be in electronic communication with the computer network 22. Device manufacturers 28 may be manufacturers of the embedded devices 24, the processors used in the embedded devices 24, the developers of the software used by the embedded devices 24 and/or processors, etc. Some examples of companies that would be typical device manufacturers 28 are Motorola, Intel, AMD, Nokia, Hewlett Packard, Microchip, Siemens, etc. These examples are only meant to be illustrative and are not meant to limit the broad scope of what may be considered a device manufacturer 28.

[0045] Device manufacturers 28 are often aware of any device upgrades, whether hardware or software, any device problems, etc. The service provider 20 may obtain information from device manufacturers 28 to be used to update, monitor, control or otherwise service embedded devices 24.

[0046] Information providers 30 may also be in electronic communication with the computer network 22. Information providers 30 are any providers of information that may be useful in some way by the embedded devices 24 and/or by the embedded device service provider 20. For example, weather information may be provided by a web site on the World Wide Web portion of the Internet. This provider of weather information would be within the scope of an information provider 30. In addition, the current date and time may also be provided by an information provider 30. Another information provider 30 may provide map information, while another may provide consumer product identification information.

[0047] A data collector 32 may also be in electronic communication with the computer network 22. A data collector 32 is any entity that is engaged in collecting data from embedded devices 24. A data collector 32 may also be referred to as a requestor in that it requests data from embedded devices 24. In embodiments herein, the service provider 20 facilitates the collection of data from the embedded devices 24 by communicating with the embedded devices 24, obtaining data from the devices, and by, at some point, providing this data or related information to the data collector 32. An example of a data collector 32 would be a utility company with a need of gathering and totaling usage data from meters that measure usage by different consumers. Embedded devices 24 implementing these meters, or in electronic communication with these meters, may read the usage data and provide it to the service provider 20. The service provider 20 may then provide the usage data obtained to the data collector 32. Many other data collection needs may be met through a data collector 32. For example, collecting data of what consumer items were purchased, their current status and/or where consumer item is may be useful information that may be gathered by a data collector 32.

[0048] Services 34 that control and/or monitor embedded devices 24 and/or embedded networks 26 may also be in electronic communication with the computer network 22. A controlling/monitoring service 34 would be any service that provides control for and/or provides monitoring of embedded devices 24. In some circumstances, a data collector 32 is similar to a service providing monitoring. However, a controlling and/or monitoring service 34 provides a more active role than a data collector 32. In some embodiments, a monitoring service 34 monitors one or more embedded devices 24 on a periodic basis to ascertain whether the devices 24 are operating within normal parameters. In certain embodiments, a controlling service 34 provides control for one or more embedded devices 24 by sending control data to the one or more embedded devices 24. For example, a certain set of embedded devices 24 may require weather information for proper operation (for example, a sprinkler controller) and a controlling service 34 may provide control data based on weather information and location. For example, the controlling service 34 may send commands to certain embedded device sprinkler controllers telling the controller not to water.

[0049]FIG. 2 is a block diagram of data that may be available from a device manufacturer 28. Device manufacturers 28 may be aware and have copies of embedded software updates 36. For example, a newer version of the software running on a microcontroller in an embedded device 24 may be available from the device manufacturer 28. The device manufacturer 28 may make this updated software 36 available.

[0050] Device manufacturers 28 may also be aware of the various capabilities of the devices 24 that they manufacture. In this regard, the device manufacturers 28 may make capabilities descriptions 38 for their devices 24 available. Basic information about the embedded device 24, its characteristics and capabilities are useful to those who may wish to somehow interact with it. Such basic information may be stored by the device manufacturer 28 in a capabilities description 38 or capabilities table 38. The capabilities table 38 may be stored as a file. Those skilled in the art will realize that there are a variety of ways to store basic capabilities of an embedded device 24 and its connected input and/or output devices. Table 1 contains pseudocode illustrating what types of information may be stored in a capabilities description 38 or table 38. TABLE 1 1A Interfaces supported 1B byte ordering type 1C device identification 1D device address 1E software version 1F communication protocol version 1G maximum communication packet size 1H nonvolatile storage flag (indicates yes or no) 1I nonvolatile storage size, starting address 1J static file system flag 1K dynamic file system flag

[0051] As illustrated in Table 1, the capabilities table 38 may include an indication of what interface definitions (1A) the embedded device 24 supports. The interface definitions (1A) field and its use will be more fully described herein. The capabilities table 38 may also indicate the byte order type shown at line (1B). This byte ordering type (1B) may indicate whether the embedded device is big endian or little endian. The table 38 may also indicate what the device identification, shown at line (1C), is for that particular embedded device 24. The device address, shown at line (1D), if any, may also be stored in the capabilities table 38.

[0052] For compatibility purposes, the version numbers, shown at line (1E), for the software being used may also be stored. Similarly the communication protocol version numbers, shown at line (1F), may also be stored. Particulars about the communication may also be stored. For example, as shown in Table 1, the maximum communication packet size, shown at line (1G), may be stored.

[0053] A nonvolatile storage flag shown at line (1H) may indicate whether there is nonvolatile storage accessible by the embedded device 24. Pertinent information about the nonvolatile storage may also be stored, such as the nonvolatile storage size and its starting address, shown at line (1I). A static file system flag, shown at line (1J), may indicate whether there is a static file system. Similarly, a dynamic file system flag, shown at line (1K), may indicate whether there is a dynamic file system.

[0054] The capabilities table 38 is useful in that developers or engineers can obtain the capabilities table 38 and ascertain the characteristics and capabilities of the embedded device 24.

[0055] Device manufacturers 28 may also have other device information 40. For example, if certain embedded devices 24 were known to fail after a period of time, the device manufacturer 28 may have this information. In addition, a manufacturer 28 may be aware of certain parts of an embedded device 24 that are known to wear over time and cause erroneous data. Device manufacturers 28 would probably also be aware of embedded device 24 recalls. As will be appreciated by those skilled in the art, device manufacturers 28 may be aware of a number of other items 42 or things that may be relevant to an embedded device 24. The device manufacturers 28 may make this other information 42 available.

[0056]FIG. 3 is a block diagram of data or information that may be available from an information provider 30. Information providers 30 are entities that provide any type of data or information. Typically the data or information is provided in a form of electronic communication. FIG. 3 illustrates examples of the data that may be provided by an information provider 30. Weather information 44 may be provided. Date and time information 46 may be provided. Bar code information 48, such as what consumer product is identified by a particular bar code, may also be provided. Status information 50 about a particular item, thing or place may also be provided. Of course, those skilled in the art will appreciate that many other types of information 52 may also be provided.

[0057]FIG. 4 is a block diagram of data or information that may be collected by a data collector 32 or requestor. Data collectors 32 are entities that collect and/or gather information or data. Typically the data or information is transmitted to the data collector 32 in electronic form. The items shown in FIG. 4 illustrate examples of the data that may be collected by a data collector 32 concerned with monitoring items for a utility company or the like. A meters read 54 piece of data may indicate how many and which meters in a certain area have been read. Billing data 56 may indicate past bills for particular customers and whether they have been paid. Rate information 58 may include various rates and indicate when each rate should be charged and to which customers. Usage data 60 may store past usage information to show peaks and valleys of usage by individual consumers as well as by groups of consumers. Performance information 62 may be information about the various embedded devices 24 and their related components and how they perform in the field, how long they typically last, what types of problems are occurring in the field, etc. Status and/or maintenance data 64 may also be stored. This data 64 may include the current status of the particular embedded devices 24 and/or larger groups of embedded devices 24. It may also include a maintenance history as well as future scheduled maintenance activities. Of course, those skilled in the art will appreciate that other data or information may also be collected by a data collector 32. FIG. 4 is only illustrative of types of information that may be collected and stored by a data collector 32 and is not meant to limit the broad scope and usefulness of the present embodiments.

[0058]FIG. 5 is a block diagram of the modules and data or information that may used by a controlling/monitoring service 34. A database 66 may be used that includes the embedded devices 24 that need to be controlled and/or monitored. The information in this database 66 may include device identifications, routing information, location, device capabilities, etc. In addition, this database 66 may also include what controlling should be accomplished for each device and the particular control commands that should be sent. Those skilled in the art will appreciate that any data regarding or relating to the embedded devices 24 may be stored in this database 66. Of course, this database 66 may actually be a number of databases or a number of files.

[0059] A notification database 68 may include owner information and technical contacts. For example, for each device 24 being monitored and/or controlled, there may be an owner listed, who is likely paying for the service, as well as a technical contact person to contact when particular events occur. For example, if an embedded device 24 stops functioning, a controlling/monitoring service 34 may be instructed to immediately contact the technical contact person via pager, e-mail, telephone, etc.

[0060] A managing module 70 may manage the operation of the controlling and/or monitoring by reading in, or causing to be read it, data that indicates what actions should take place and by writing out, or causing to be written out, any output data. A communications module 72 may handle communications functions. Separate monitoring functions 74 may be accessed and used to monitor the embedded devices 24. For example, a library of monitoring functions 74 may be compiled to access and execute in monitoring various embedded devices 24. Typically, when engineers have developed software to monitor a particular type of embedded device 24, these functions to monitor may be reused in monitoring the same or similar types of embedded devices 24. Similarly, controlling functions 76 may be available and may be reused with similar types of devices 24.

[0061]FIG. 6 is block diagram illustrating the major hardware components typically utilized in embedded devices 24 or systems and embodiments herein. An embedded device 24 typically includes a processor 78 or embedded computer 78 in electronic communication with input devices 80 and/or output devices 82. The embedded computer 78 is operably connected to input 80 and/or output devices 82 capable of electronic communication with the embedded computer 78, or, in other words, to devices capable of input and/or output in the form of an electrical signal. Sometimes the input and output device(s) 80, 82 and the embedded computer 78 or processor 78 are both housed within the same physical structure. The input and/or output data sent and/or received may be referred to herein as interface data.

[0062]FIG. 7 is block diagram illustrating the major hardware components typically utilized in an embedded device network 26 and embodiments herein. An embedded device network 26 typically includes a host computer 84 or gateway computer 84 networked together with one or more embedded devices 24. The host computer 84 acts as a gateway between the embedded devices 24 and other computers (e.g., other computers on the computer network 22). In the present embodiments, the systems and methods herein are used to access a networked computer system where a host computer 84 is connected to one or more embedded devices 24. Typically the embedded device 24 includes an embedded computer 78 connected to input and output devices 80, 82. Particularly, in the present embodiments, the embedded computer 78 typically is a microcontroller (not shown). However, it will be appreciated by one skilled in the art that the functions and processing normally carried out by a microcontroller could be carried out by larger processors, whether they are part of a larger controller or part of a typical computer system.

[0063] The embedded computer 78 is typically remote from the host computer 84 in that the embedded computer 78 and host computer 84 are each computers capable of functioning on their own. The term remote does not necessarily mean that the embedded computer 78 is at a different location than the host computer 84, although in many embodiments the host computer 84 is at a different location than the embedded computer 78. Those elements discussed as being stored and/or implemented by the remote computer 78 could be stored and/or implemented at the host computer 84, in some circumstances.

[0064] The present systems and methods have broad application to many kinds of computer networks. Generally, embodiments of an embedded devices service provider 20 provide monitoring and/or controlling of embedded devices 24. The embedded computer 78 is operably connected to input and/or output devices 80, 82 capable of electronic communication with the remote computer 78, or, in other words, to devices capable of input and/or output in the form of an electrical signal. The service provider 20 establishes communication with the embedded device 24 to send and/or receive input and/or output data and to thereby interact with embedded devices 24.

[0065] The gateway 84 or host computer 84 is a broadly defined digital computer. The embedded device 24 or system 24 includes a digital computer but does not have typical input and/or output devices such as a keyboard, mouse, and/or monitor. A computer, as used herein, is any device that includes a digital processor capable of receiving and processing data. A computer includes the broad range of digital computers including microcontrollers, hand-held computers, personal computers, servers, mainframes, supercomputers, and any variation or related device thereof.

[0066] The input and output devices 80, 82 include any component, element, mechanism, appliance, or the like capable of receiving and/or generating an electronic signal. Examples of devices within the scope of the term device includes a vending machine, a telephone, a door lock, a temperature sensor, a motor, a switch, a light, etc.

[0067] In current design, the gateway computer 84 is typically an IBM-compatible personal computer running Linux, Microsoft Windows 95/98/2000 or the Microsoft Windows NT operating system.

[0068] One possible item that may be used with the embodiments herein is a vending machine (not shown). Many vending machines include one or more microcontrollers for controlling different parts of the vending machines. These microcontrollers fall within the scope of embedded computer. The input and output devices include the buttons for selecting items from the vending machine, switches for allowing those items to be dropped down to the user, lights for indicating which items are gone, the change release for releasing any change, etc. As known in the art, this vending machine embodiment includes the input and output devices 80, 82 and the remote computer(s) integrated within the same structure. Those skilled in the art will also realize that the embedded computer 78 may be in a separate structure from its attached input and output device(s) 80, 82. Many of the modern devices do come with embedded microcontrollers, for example, many cellular phones, pagers, and the like come with embedded microcontrollers.

[0069] The host or gateway computer 84 may be connected to the embedded devices 24 through a variety of connections, including RS 232, RS 485, modem, powerline, wired connection, wireless connection, etc. Similarly, the embedded computer 78 may be connected to various input and output devices 80, 82 through a variety of ways. As stated, typically the remote computer 78 comprises a microcontroller (not shown). Microcontrollers often have input/output ports for communicating with external devices. The specifications of the particular microcontroller often dictate how a device is connected to the microcontroller. Those skilled in the art appreciate how different devices may be connected to computers, whether they are embedded computers, standard desktop computers, mainframes, etc.

[0070]FIG. 8 depicts a block diagram of the major hardware and software components of an embodiment of an embedded device network 26. As shown, the hardware elements of FIG. 8 correlate with those of FIG. 7. Those skilled in the art will appreciate that there are a variety of ways to interconnect the various hardware components, and that there are various configurations wherein one or more of the hardware elements may be eliminated by moving functionality from one hardware element to another.

[0071] The present embodiments enable a user to monitor and/or control services provided by the embedded device 24 through the service provider 20. The services of the embedded device 24 may be exposed by the embodiments such that they may be accessed over the computer network 22 and in an efficient manner.

[0072] In the present embodiments, data from input and/or output devices 80, 82 is read in and/or written out through input/output ports 86. An embedded application program 88 includes the executable instructions that directly interface with these input and/or output ports 86. Usually embedded applications 88 have a main loop which is iterated through over and over. Of course, embedded application developers may write an application that does not have a main loop that is continually iterated through. The principles herein could be applied to those applications not having a main loop and provide substantially the same benefits as are realized in the present embodiments.

[0073] Users, through software running on the embedded device service provider 20, may wish to access certain services provided by the embedded device 24. Services include different functions, variables, events, and/or files. For example, users may wish to execute particular functions, access certain variables, check on specified events, or access specific files. In current design, the services that a user may need access to are identified and listed. The identification of services also includes information about the certain services. This identification of certain services may be accomplished in a variety of ways. For example, in current design, a table 90 of services may be stored at the embedded computer 78. The services table 90 may be stored as a file, or it may be stored as static data that is compiled with the application 88, or it may be stored on a storage device (not shown) external to the remote computer 78. Those skilled in the art will realize that there are a variety of ways to store basic information about certain services provided by the application code running on the embedded computer 78. Table 2 contains pseudocode illustrating what types of information may be stored in the services table 90. TABLE 2 2A “FunctionA”, function, word, void, &FunctionA 2B “FunctionB”, function, int, float, &FunctionB 2C “VarA”, variable, int, void, &varA 2D “VarB”, variable, string, void, &varB 2E “EventA”, event, byte, void, &eventA 2F “EventB”, event, int, void, null 2G “FileA”, file, void, void, &fileA 2H “FileB”, file, void, void, &fileB

[0074] As illustrated in Table 2, the services table 90 may include information such as the name or identification of the service, the type of service (e.g., whether it is a function, variable, event, file, etc.), the input parameter type, if any, the return type, if any, and the address of the service. Information about function FunctionA, shown at line (2A), is illustrated indicating that it is a function, it takes a word as an input parameter, it returns nothing (void), and its address is indicated at &FunctionA. Line (2B) illustrates the information about another function, FunctionB. Relevant information about variables are illustrated at lines (2C)-(2D). Information about events is illustrated at lines (2E)-(2F). Events may be any type of data. For example, an event could be a variable, a particular register, an interrupt, etc. Events may be particularly useful for items that occur asynchronously. Examples of asynchronous types of events include an alarm going off or an external LED changing. Information about certain files are illustrated at lines (2G) and (2H).

[0075] By storing information about certain services at the remote computer 78 or at the embedded device 24, software at the embedded device service provider 20 can readily ascertain what services are available at the embedded device 24. Usually the application code 88 defines the services. The services table 90 functions to provide information about certain services, where the information would be useful to a user at the host computer 84, to the service provider 20 or to a requestor across the computer network 22. A capabilities table 98 may also be provided at the embedded computer 78.

[0076] In current design, an embedded interface module 92 provides access between the services at the embedded computer 78 and software running at the host computer 84 and/or to software running at the embedded devices service provider 20. In embodiments herein, the interface module 92 uses information in the services table 90 to access the desired service on the remote computer 78. Further, in the presently preferred embodiment, the interface module 92 is reentrant code.

[0077] The interface module 92 communicates through a communications port 94. In current design, a communications module 96 provides communication using the communications port 94. One skilled in the art will appreciate, however, that the interface module 92 may include the code necessary to directly interface with the communications port 94 at the remote computer 78. The communications module 96 or code provides access to the communications port 94, and ensures that data is given to the communications port 94 in appropriately sized and formatted pieces, and that data received from the communications port 94 is correctly read from the port 94.

[0078] The host computer 84 includes a communication port 100 in electronic communication with the communications port 94 of the embedded device 24. As discussed earlier, there are a variety of such ports available with computers that are capable of interfacing with a remote and/or embedded computer port. A communication module 102 provides features similar to those provided by the communications module 96 of the embedded computer 78. The communications module 102 correctly formats data that is written to and read from the communications port 100.

[0079] The host computer 84 provides access to the services provided at the embedded computer 78 and at the embedded device 24. In the present embodiments, a portion of the capabilities table 98, the interfaces supported information, is retrieved from the embedded device 24 and from it a list of the services is created at the host computer 84 and/or at the service provider 20 that substantially corresponds to the services table 90. The list of services at the host computer 84 is referred to in FIG. 8 as services information 104. The services information 104 indicates what services are available at the embedded device 24 and what data types, if any, are used with individual services. This facilitates access via the host computer 84 to the embedded device 24.

[0080] In current design, a process is initially started on the host computer 84 and/or by the service provider 20 that causes the services information 104 to be created. The device access controller 106 provides this initial direction, in current design.

[0081] As stated, the embodiments may provide access to the services of the embedded device 24 to computers that are in electronic communication with the computer network 22 and to the service provider 20. To facilitate access by computers, the host computer 84 and/or the service provider 20 may include servers. A web server 108 may be started at the host computer 84 and/or at the service provider 20. The web server 108 may provide a web interface to services at the embedded device 24. For example, the data and/or services of the embedded device 24 may be represented graphically through HTML pages. Thus, the device access controller 106 may create web pages (not shown) from the services available at the embedded device 24, and the web server 108 may service HTTP requests for these web pages.

[0082] A device access server 110 may also be included at the host computer 84 and/or at the service provider 20 to service client requests for services of embedded devices 24. In current design, the device access server 110 accesses the services information 104 and makes this information available to clients at client computers across the computer network 22 (for example, to data collectors 32 and/or to controlling/monitoring services 34).

[0083]FIG. 9 illustrates the software and data components that may be utilized in an embodiment of a service provider 20 for embedded devices. The service provider 20 includes a database 112 of embedded device information. This database 112 may be made available to, or made accessible by computers in electronic communication with the computer network 22. Database as used herein means any data structure or structures used to store data. A database may be one or more files, it may be a commercially available database package, etc. The embedded device information database 112 may contain information one skilled in the art would need to provide services to embedded devices 24. The embodiment of the embedded device information database 112 shown in FIG. 9 illustrates what types of data may be stored in the embedded device information database 112. Device interface definitions 114 that define how to communicate or interface with embedded devices 24 may be included. Table 3 contains pseudocode illustrating what types of information may be defined and included in an interface definition 114. TABLE 3 3A “FunctionA”, function, word, void, &FunctionA 3B “FunctionB”, function, int, float, &FunctionB 3C “VarA”, variable, int, void, &varA 3D “VarB”, variable, string, void, &varB 3E “EventA”, event, byte, void, &eventA 3F “EventB”, event, int, void, null 3G “FileA”, file, void, void, &fileA 3H “FileB”, file, void, void, &fileB 3I State information 3J Behavior information 3K Other

[0084] As illustrated in Table 3, an interface definition may include information such as the name or identification of the service, the type of service (e.g., whether it is a function, variable, event, file, etc.), the input parameter type, if any, the return type, if any, and the address of the service. Information about function FunctionA, shown at line (3A), is illustrated indicating that it is a function, it takes a word as an input parameter, it returns nothing (void), and its address is indicated at &FunctionA. Line (3B) illustrates the information about another function, FunctionB. Relevant information about variables are illustrated at lines (3C)-(3D).

[0085] Information about events is illustrated at lines (3E)-(3F). Events may be any type of data. For example, an event could be a variable, a particular register, an interrupt, etc. Events may be particularly useful for items that occur asynchronously. Examples of asynchronous types of events include an alarm going off or an external LED changing.

[0086] Information about certain files are illustrated at lines (3G) and (3H). State information (3I) may also be included. The state information (3I) may include information defining what various states the embedded device 24 may be in, information defining any state machines of the embedded computer 78, etc. Behavior information (3J) may indicate how the embedded computer 78 will react and behave given a certain set of inputs, outputs and/or states. Of course, other (3K) defining information may be included as well, as those skilled in the art see fit.

[0087] A device types 112 a data structure may contain information about what embedded devices 24 can be accessed and logical groupings of these devices 24. A device capabilities 112 b data structure may include information on what capabilities each particular embedded device 24 has, similar to the capabilities table discussed above. Devices registered 112 c information may contain information on what embedded devices 24 have been in contact with the service provider 20, which device's services have been paid for, etc. Device locations 112 d may indicate where the embedded devices 24 are located, either in geographic terms or in electronic terms (such as, for example, a telephone number, an IP address, routing information, etc.).

[0088] The information in the embedded device information database 112 may be created without access to the embedded devices 24, or it may be created from information obtained from the embedded devices 24.

[0089] Embodiments herein may also implement security measures. For example, there may be embedded devices 24 and/or certain services of embedded devices 24 that should only be accessed by an entity holding the proper authority. A more specific example of this is a vending machine. A vending machine may only need to be accessed by particular entities, or it may have certain functions that should only be accessed by an authorized entity, such as, for example, the ability to change the prices on certain items, to drop certain items without payment or to lock certain items so that they may not be purchased. To provide proper authentication and access to embedded devices 24, the service provider 20 may include security codes 112 e or information for validating proper client access. User names and passwords may be stored in the security codes 112 e data to validate proper authorization.

[0090] Devices to update 112 f information may be a listing of embedded devices 24 that need some type of updating. Forwarding data 112 g may include information about where data from or relating to an embedded device 24 should be forwarded.

[0091] Another database 116 may be used by the service provider 20 to store information relating to entities, information, etc. on the computer network 22, and this database 116 and/or the information in this database 116 may be made available to embedded devices 24. This service information database 116 may include manufacturer locations 116 a as well as manufacturer data 116 b. In addition, it may store information provider locations 116 c and some information data 116 d provided by the information providers 30. Data collector locations 116 e may be stored along with what data 116 f has been requested by the data collector 32. Controlling/monitoring services locations 116 g and their requests 116 h may be stored. The controlling/monitoring requests data 116 h may include schedule data 116 i that indicates which devices should be controlled/monitored and how often they should be controlled/monitored. The schedule data 116 i may include embedded device identifications and routing data.

[0092] In addition, other data collected 116 j may be stored in the service information database 116. In embodiments herein, the locations stored are in the form of IP addresses, but it will be appreciated by those skilled in the art that other types of data may be stored that would indicate how to contact a particular entity.

[0093] An information collection manager module 118 may manage the data being stored into and read from the service information database 116. Similarly, an embedded device manager 120 may manage the data being stored into and read from the embedded device information database 112. An administrator module 122 may coordinate the operation of the service provider 20 and the communications between the managing modules 118, 120 and other modules included with the service provider 20.

[0094] As discussed in relation to FIG. 8, a web server 124 and a device access server 126 may be included in the service provider 20 to facilitate providing services to or for the embedded devices 24. A computer network communications module 128 may handle communications accomplished via the computer network 22. An embedded device communications module 130 may handle communications with the embedded devices 24. The embedded device communications module 130 may include both hardware and software components. For example, if embedded devices 24 are able to dial in directly to the service provider 20, the embedded device communications module 130 may include a modem bank (not shown) as well as communication software to handle the incoming calls and data communications. However, the embedded device communications module 130 may also use other communications hardware that is being shared by other resources. In this case, the embedded device communications module 130 would typically include software to handle the communications that it is to receive. Those skilled in the art will appreciate the many communication packages and alternatives, both hardware and software, that may be utilized in the embodiments of a service provider 20.

[0095]FIG. 10 is a block diagram illustrating a system 132 for providing services to embedded devices 24. As shown, the system 132 may include a plurality of embedded devices service providers 20 that are coordinated by a central office 134. The central office 134 may also coordinate communications via the computer network 22 with manufacturers 28, information providers 30, data collectors 32 and controlling/monitoring services 34. The individual service providers 20 for embedded devices 24 may be located in various locations to adequately service embedded devices 24 being used in the field. Depending on the particular embedded devices 24, some service providers 20 may need to be more proximate to embedded devices 24. Other service providers 20 may not need to be at a proximate location but may only need an electronic connection, whether physically close to or far away from its embedded devices 24.

[0096]FIG. 11 is a flow diagram illustrating steps of a method of an embodiment for providing service to a plurality of embedded devices 24. Electronic communications is provided 136 between the service provider 20 for embedded devices and an embedded device 24. A message may then be received 138 from the embedded device 24. The embedded device 24 may then be identified 140 through use of the message received. This identification may either be of the particular embedded device 24 or of the type of embedded device 24. The service provider 20 may access 142 the embedded device information database. In embodiments herein, the service provider 20 is able to identify embedded devices 24 after accessing the embedded device information database 112. Accordingly, those skilled in the art will appreciate that a number of the steps herein may be performed in various orders to accomplish substantially similar results. The service provider 20 may send 144 a transmit message to the embedded device 24 and store 146 device information descriptive of a transaction. Information about the transaction (about the message(s) sent or received) may be used for billing purposes.

[0097] Other steps may also be performed in practicing present embodiments. For example, newly obtained information from the computer network (to be placed in the service information database 116) may be linked to certain information in the embedded device information database 112. In this way, the service provider 20 will be aware of updated information when dealing with a particular device 24 or type of device. The message received from the embedded device 24 may be parsed to obtain an embedded device identifier, which may be a number, a text string, etc. Methods practiced herein also may use the schedule data of the controlling/monitoring requests to monitor or control embedded devices.

[0098]FIG. 12 is a flow diagram illustrating steps of a method of an embodiment for providing service to a plurality of embedded devices 24. Requestors (users, companies, or other entities) may ask 148 an embodiment of a service provider 20 to monitor and/or control one or more embedded devices 24. The requester may provide 150 the locations (whether electronic addresses or physical locations) or identifications of the embedded devices 24 to the service provider 20. The service provider 20 may obtain 152 any data or software updates that may be needed by the embedded devices 24. This may be done by accessing manufacturer's 28 web sites.

[0099] The service provider 20 may then enter an iterative loop to control/monitor embedded devices 24. The provider 20 may get 154 the next device 24 to monitor or control. Depending on whether this is the first iteration through a particular list of devices to monitor/control, this step may either be getting the next device or getting the first device in a particular list. The service provider 20 may then send 156 a message to the device and establish communications. The provider 20 may then request 158 data, which may be interface data, from the device and store 160 the data obtained. If control has been requested, the service provider 20 may send 162 control data to the device 24. This control data may include directions or instructions for the device 24 to facilitate control. If a requestor has asked for a report or a status, the service provider 20 may send 164 a report or status to the requestor. The service provider 20 may then get the next device and cycle through the steps for each additional device.

[0100] Commercially available software from emWare, Inc. is used in implementing the present embodiments. emWare, Inc. may be contacted through its web site at www.emware.com. One skilled in the art will appreciate how the commercially available software items from emWare can be used with the present embodiments. The following is a general and basic description of technology of emWare that is used in the present embodiments.

[0101] emWare's business centers around microcontrollers that manage many electronic devices used in today's world, including telephones, home appliances, office equipment, ATMs, security systems, VCRs, automobiles, etc. These microcontrollers are embedded into millions of intelligent electronic devices.

[0102] emWare has developed technology and software which provide distributed network-based device control. emWare's Embedded Micro Internetworking Technology (EMIT) software is designed to move the majority of software off of the embedded microcontroller and distribute it to more capable computers over a network. EMIT has also been developed to leverage existing Internet technologies.

[0103] Use of EMIT software involves various components including the following: the customer's embedded application, emMicro software (which correlates to the embedded interface module), emGateway software, emNet software (which correlates to the communication modules), and the customer's monitoring/controlling application. Typically, potential customers of emWare already have embedded environments in which they plan to deploy emWare's EMIT software to enhance their monitoring and controlling capabilities. These embedded environments typically include the embedded system, the host computer, and client computers.

[0104] From the above discussion, it will be appreciated that the present embodiments provide a service provider for embedded devices and/or embedded systems.

[0105] The embodiments herein may be embodied in other specific forms without departing from their spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative, and not restrictive. The scope of the invention is, therefore, indicated by the appended claims, rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope. 

We claim:
 1. A service provider for embedded devices comprising: a computer, the computer including communications hardware for communicating over a computer network, the computer also including a storage device; a database of service information obtained from the computer network, the database being available to the embedded devices; an embedded device communications module for communicating with the embedded devices; a computer network communications module for communicating with computers via the computer network; and a database interface module for accessing the service information in the service information database.
 2. The provider of claim 1 further comprising an information collection manager for searching the computer network and for accessing and obtaining updated service information from the computer network.
 3. The provider of claim 2 wherein the updated service information obtained from the computer network relates to computer program code on an embedded device.
 4. The provider of claim 2 wherein the updated service information obtained from the computer network relates to a location of an embedded device.
 5. The provider of claim 1 wherein the embedded device communications module establishes electronic communication with an embedded device and receives at least one message from the embedded device that includes an embedded device identifier.
 6. The provider of claim 1 further comprising schedule data, the schedule data including embedded device identifications and wherein the schedule data is being used to control monitoring of the embedded devices.
 7. The provider of claim 1 wherein the provider communicates with an embedded device via the embedded device communications module and obtains from computer program code loaded on the embedded device a device description.
 8. The provider of claim 7 wherein the device description is selected from the group consisting of functions, variables, data types, events and files.
 9. The provider of claim 1 wherein the provider monitors an embedded device through use of the embedded device communications module by periodically obtaining interface data from computer program code loaded on the embedded device and wherein the provider stores the interface data on the storage device.
 10. The provider of claim 9 wherein the provider stores monitoring data created from the interface data received and wherein the provider further provides the monitoring data to a requestor through the computer network.
 11. The provider of claim 6 wherein the provider controls an embedded device via the embedded device communications module by periodically sending control data to computer program code loaded on the embedded device to affect operation of the embedded device and wherein the periodic sending is based on the schedule data.
 12. The provider of claim 1 wherein the provider updates computer program code on an embedded device by obtaining updated computer program code via the computer network and by notifying the embedded device of an available update and by further sending the updated computer program code to the embedded device.
 13. A service provider for embedded devices comprising: a computer, the computer including communications hardware for communicating over a computer network, the computer also including a storage device; a database of embedded device information, the embedded device information database being available to the computer network; an embedded device communications module for communicating with the embedded devices; a computer network communications module for communicating with computers via the computer network; and a database interface module for accessing the information in the embedded device information database.
 14. The provider of claim 13 wherein the embedded device communications module establishes electronic communication with an embedded device and receives at least one message from the embedded device that includes an embedded device identifier.
 15. The provider of claim 13 further comprising schedule data, the schedule data including embedded device identifications, the schedule data being used to control monitoring of the embedded devices.
 16. The provider of claim 13 wherein the embedded device information database includes a plurality of capabilities tables.
 17. The provider of claim 13 wherein the provider communicates with an embedded device via the embedded device communications module to obtain from computer program code loaded on the embedded device a device description.
 18. The provider of claim 17 wherein the device description is selected from the group consisting of functions, variables, data types, events and files.
 19. The provider of claim 13 wherein the provider monitors an embedded device via the embedded device communications module by periodically obtaining interface data from computer program code loaded on the embedded device and wherein the provider stores the interface data on the storage device.
 20. The provider of claim 19 wherein the provider stores monitoring data created from the interface data and wherein the provider further provides the monitoring data to a requestor through the computer network.
 21. The provider of claim 15 wherein the provider controls an embedded device via the embedded device communications module by periodically sending control data to computer program code loaded on the embedded device to affect operation of the embedded device and wherein the periodic sending is based on the schedule data.
 22. The provider of claim 13 wherein the provider updates computer program code on an embedded device by obtaining updated computer program code via the computer network and by notifying the embedded device of an available update and by further sending the updated computer program code to the embedded device.
 23. An embedded device service provider, the embedded device service provider comprising: communications hardware for communicating over a computer network; memory; an embedded device information database including embedded device information, the embedded device information database being available to the computer network; a service information database including service information obtained from the computer network, the service information database being available to embedded devices capable of communicating with the provider; a processor, the processor executing instructions for implementing a method comprised of the steps of: receiving a message from an embedded device; identifying the embedded device; accessing the embedded device information database; sending a transmit message to the embedded device; and storing device information descriptive of a transaction.
 24. The provider of claim 23 wherein the service information database further includes updated service information that has been obtained via the computer network.
 25. The provider of claim 24 wherein the embedded device information database further comprises: linking data that links certain embedded device information to certain updated service information; a plurality of embedded device identifiers; and a plurality of capabilities tables.
 26. The provider of claim 25 further comprising schedule data, the schedule data including embedded device identifications and routing data, the schedule data being used to control monitoring of a plurality of embedded devices.
 27. The provider of claim 26 wherein the embedded device information database further comprises interface data that has been obtained from computer program code loaded on the embedded device.
 28. The provider of claim 27 further comprising control data to be sent to the embedded device to affect operation of the embedded device.
 29. The provider of claim 28 wherein the embedded device information database further comprises a plurality of files of updated computer program code that have been obtained via the computer network and that are capable of being used to update program code on embedded devices.
 30. A method for providing service to a plurality of embedded devices, the method comprising: providing electronic communications between a service provider for embedded devices and a communications network; receiving a message from an embedded device; identifying the embedded device through use of the message received; accessing an embedded device information database; sending a transmit message to the embedded device; and storing device information descriptive of a transaction.
 31. The method of claim 30 further comprising collecting updated information from the computer network relating to embedded devices.
 32. The method of claim 30 further comprising linking certain information in the embedded device information database to certain updated information.
 33. The method of claim 30 further comprising parsing the message from the embedded device to obtain an embedded device identifier.
 34. The method of claim 30 further comprising monitoring the plurality of embedded devices based on schedule data, the schedule data including embedded device identifications and routing data, the schedule data being used to control monitoring of the plurality of embedded devices.
 35. The method of claim 30 further comprising obtaining a device description from computer program code loaded on the embedded device.
 36. The method of claim 30 further comprising: periodically obtaining interface data from computer program code loaded on the embedded device; and storing the interface data on a storage device.
 37. The method of claim 36 further comprising providing the interface data to a requestor through the computer network.
 38. The method of claim 30 further comprising sending control data to computer program code loaded on the embedded device to affect operation of the embedded device and wherein the periodic sending is based on schedule data.
 39. The method of claim 30 further comprising updating computer program code on the embedded device by obtaining updated computer program code via the computer network and by notifying the embedded device of an available update and by further sending the updated computer program code to the embedded device.
 40. A system for providing services to embedded devices comprising: a plurality of service providers for embedded devices, wherein each service provider for embedded devices comprises: a computer, the computer including communications hardware for communicating over a computer network, the computer also including a storage device; a database; an embedded device communications module for communicating with the embedded devices; a computer network communications module for communicating with computers via the computer network; and a database interface module for accessing the information in the database; and a central provider in electronic communication with the plurality of service providers for embedded devices, the central provider operating to provide communications between embedded devices and service providers for embedded devices, and to coordinate collecting updated information from the computer network relating to embedded devices, and to coordinate disseminating the updated information to embedded devices. 